<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta charset="utf-8">
    <title>SysUserAdd</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/lib/layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="/static/lib/layuiadmin/style/formSelects-v4.css"/>
</head>
<body>
<div class="layui-container" style="width:100%">
    <div class="layui-row">
        <div class="layui-col-sm2" style="text-align: center">
            <img id="userImage" alt="用户头像" src="/images/bg_image/boy.jpg" style="margin-top: 25px;height:180px;width:150px;">
            <p id="loginName"></p>
        </div>
        <div class="layui-col-sm8" style="margin-left: 30px;">
            <table class="layui-table" lay-filter="test" id="test"></table>
        </div>
    </div>

</div>
<script type="text/html" id="typeTpl">
    {{# let name = ""}}
    {{#  if(d.roleList.length > 0){ }}
    {{# name += "角色授权";}}
    {{#  } }}
    {{#  if(d.postList.length > 0){ }}
    {{#  if(name.length > 0){ }}
    {{# name += ",";}}
    {{#  } }}
    {{# name += " 岗位授权";}}
    {{#  } }}
    {{#  if(d.dutyList.length > 0){ }}
    {{#  if(name.length > 0){ }}
    {{# name += ",";}}
    {{#  } }}
    {{# name += " 职位授权";}}
    {{#  } }}
    {{#  if(d.orgList.length > 0){ }}
    {{#  if(name.length > 0){ }}
    {{# name += ",";}}
    {{#  } }}
    {{# name += " 机构管理";}}
    {{#  } }}
    {{#  if(d.orgCateList.length > 0){ }}
    {{#  if(name.length > 0){ }}
    {{# name += ",";}}
    {{#  } }}
    {{# name += " 机构分类";}}
    {{#  } }}

    <span>{{ name }}</span>
</script>
</body>

<script type="text/javascript" src="../../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/static/lib/layuiadmin/layui/layui.js"></script>
<script type="text/javascript" src="../../common/common.js"></script>
<script type="text/javascript" src="../../common/utils.js"></script>
<script type="text/javascript" src="sysUserMenu.js"></script>
</html>
